package com.ay277.htqoa.quartz.entiy;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by accp on 2016/12/21.
 */
//组件
@Component
public class MyJob4 {
    @Scheduled(cron = "10,30,50 * * * * ?")
    public void something(){
        System.out.println("somethind...");
    }
}
